package com.java.userservice.otherconfig;

//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.data.redis.connection.RedisConnectionFactory;

/**
 * 使用redis存储token的配置
 * Created by macro on 2019/10/8.
 */
//@Configuration
public class RedisTokenStoreConfig {

//    @Autowired
//    private RedisConnectionFactory redisConnectionFactory;

//    @Bean
//    public TokenStore redisTokenStore (){
//        return new RedisTokenStore(redisConnectionFactory);
//    }
}
